function SPController($scope, $routeParams, $http){
	$scope.name = "SPController";
	$scope.params = $routeParams;
	$scope.store = {};
	$scope.url = 'http://api.kouponmedia.com/UserService.svc/getpromolist/6348256714038520009a57d1d2-5188-457b-854b-86aafea65fc5?macaddress=12345rger3g3&sourceapp=app&merchant=4825&fromdt=11%2F08%2F2012&todt=11%2F08%2F2012';
    $scope.key = $scope.auth;
    var jo = $scope.auth;
$scope.update = function (item) {
     $scope.store = Project.get({Creden:jo});
    };
}

    
/*
    $scope.update = function(user){
        $scope.store = angular.copy(user);

    };
}*/